<%@ Page Language="C#" MasterPageFile="~/Admin.master" AutoEventWireup="true"
    CodeFile="ViewReports.aspx.cs" Inherits="ViewReports" Title="View Reports" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">

   
    <asp:Label ID="Label1" runat="server" CssClass="header" Text="Overall Finance"></asp:Label><br />
    <br />
    <table style="width: 318px">
        <tr>
            <td style="width: 92px">
                Select Year:
            </td>
            <td>
                <asp:DropDownList ID="ddlYear01" runat="server" DataSourceID="ObjectDataSourceYear"
                    DataTextField="Year" DataValueField="Year">
                    <asp:ListItem>2009</asp:ListItem>
                </asp:DropDownList>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td style="width: 92px">
                Select Branch:
            </td>
            <td>
                <asp:DropDownList ID="ddlBranch01" runat="server" DataSourceID="ObjectDataSourceBranch"
                    DataTextField="BranchName" DataValueField="PinCode">
                    <asp:ListItem>All Branches</asp:ListItem>
                </asp:DropDownList>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td style="width: 92px">
            </td>
            <td>
                <asp:Button ID="btnViewOverallFinance" runat="server" Text="View Report" OnClick="btnViewOverallFinance_Click" />
            </td>
            <td>
            </td>
        </tr>
    </table>
    <br />
    <asp:Label ID="Label2" runat="server" CssClass="header" Text="Finance by Type of Service"></asp:Label><br />
    <br />
    <asp:ObjectDataSource ID="ObjectDataSourceBranch" runat="server" OldValuesParameterFormatString="original_{0}"
        SelectMethod="ListStock" TypeName="DALReport"></asp:ObjectDataSource>
    <table style="width: 318px">
        <tr>
            <td style="width: 92px">
                Select Year:
            </td>
            <td>
                <asp:DropDownList ID="ddlYear02" runat="server" DataSourceID="ObjectDataSourceYear"
                    DataTextField="Year" DataValueField="Year">
                    <asp:ListItem>2009</asp:ListItem>
                </asp:DropDownList>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td style="width: 92px; height: 24px">
                Select Branch:
            </td>
            <td style="height: 24px">
                <asp:DropDownList ID="ddlBranch02" runat="server" DataSourceID="ObjectDataSourceBranch"
                    DataTextField="BranchName" DataValueField="PinCode">
                    <asp:ListItem>All Branches</asp:ListItem>
                </asp:DropDownList>
            </td>
            <td style="height: 24px">
            </td>
        </tr>
        <tr>
            <td style="width: 92px">
            </td>
            <td>
                <asp:Button ID="btnViewFinanceByService" runat="server" Text="View Report" OnClick="btnViewFinanceByService_Click" />
            </td>
            <td>
            </td>
        </tr>
    </table>
    <br />
    <asp:Label ID="Label3" runat="server" CssClass="header" Text="Delivery Summary by Branches"></asp:Label><br />
    <br />
    <table style="width: 318px">
        <tr>
            <td style="width: 92px">
                Select Year:
            </td>
            <td>
                <asp:DropDownList ID="ddlYear03" runat="server" DataSourceID="ObjectDataSourceYear"
                    DataTextField="Year" DataValueField="Year">
                    <asp:ListItem>2009</asp:ListItem>
                </asp:DropDownList>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td style="width: 92px; height: 24px">
                Select Month:
            </td>
            <td style="height: 24px">
                <asp:DropDownList ID="ddlMonth01" runat="server">
                    <asp:ListItem Value="1">January</asp:ListItem>
                    <asp:ListItem Value="2">February</asp:ListItem>
                    <asp:ListItem Value="3">March</asp:ListItem>
                    <asp:ListItem Value="4">April</asp:ListItem>
                    <asp:ListItem Value="5">May</asp:ListItem>
                    <asp:ListItem Value="6">June</asp:ListItem>
                    <asp:ListItem Value="7">July</asp:ListItem>
                    <asp:ListItem Value="8">August</asp:ListItem>
                    <asp:ListItem Value="9">September</asp:ListItem>
                    <asp:ListItem Value="10">October</asp:ListItem>
                    <asp:ListItem Value="11">November</asp:ListItem>
                    <asp:ListItem Value="12">December</asp:ListItem>
                </asp:DropDownList>
            </td>
            <td style="height: 24px">
            </td>
        </tr>
        <tr>
            <td style="width: 92px">
            </td>
            <td>
                <asp:Button ID="btnViewSummaryByBranches" runat="server" Text="View Report" OnClick="btnViewSummaryByBranches_Click" />
            </td>
            <td>
            </td>
        </tr>
    </table>
    <br />
    <asp:Label ID="Label4" runat="server" CssClass="header" Text="Delivery Summary by Distance"></asp:Label><br />
    <br />
    <table style="width: 318px">
        <tr>
            <td style="width: 92px">
                Select Year:
            </td>
            <td>
                <asp:DropDownList ID="ddlYear04" runat="server" DataSourceID="ObjectDataSourceYear"
                    DataTextField="Year" DataValueField="Year">
                    <asp:ListItem>2009</asp:ListItem>
                </asp:DropDownList>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td style="width: 92px; height: 24px">
                Select Month:
            </td>
            <td style="height: 24px">
                <asp:DropDownList ID="ddlMonth02" runat="server">
                    <asp:ListItem Value="1">January</asp:ListItem>
                    <asp:ListItem Value="2">February</asp:ListItem>
                    <asp:ListItem Value="3">March</asp:ListItem>
                    <asp:ListItem Value="4">April</asp:ListItem>
                    <asp:ListItem Value="5">May</asp:ListItem>
                    <asp:ListItem Value="6">June</asp:ListItem>
                    <asp:ListItem Value="7">July</asp:ListItem>
                    <asp:ListItem Value="8">August</asp:ListItem>
                    <asp:ListItem Value="9">September</asp:ListItem>
                    <asp:ListItem Value="10">October</asp:ListItem>
                    <asp:ListItem Value="11">November</asp:ListItem>
                    <asp:ListItem Value="12">December</asp:ListItem>
                    <asp:ListItem>January</asp:ListItem>
                </asp:DropDownList>
            </td>
            <td style="height: 24px">
            </td>
        </tr>
        <tr>
            <td style="width: 92px">
            </td>
            <td>
                <asp:Button ID="btnViewSummaryByDistance" runat="server" Text="View Report" OnClick="btnViewSummaryByDistance_Click" />
            </td>
            <td>
            </td>
        </tr>
    </table>
    <asp:ObjectDataSource ID="ObjectDataSourceYear" runat="server" OldValuesParameterFormatString="original_{0}"
        SelectMethod="ListYearActivity" TypeName="DALReport"></asp:ObjectDataSource>
</asp:Content>
